﻿@{
    Layout = "~/views/shared/_LayoutMember.cshtml";
        var Member = Session["LoginUser"] as Domain.Model.User;
}

<style type="text/css">
    .net-box {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
    }

    .net-node {
        border-left: 1px solid #808080;
        border-top: 1px solid #808080;
        display: inline-block;
        margin: 0px 10px;
    }

        .net-node td {
            border-right: 1px solid #808080;
            border-bottom: 1px solid #808080;
            padding: 0px 5px;
        }

    .jqOrgchart td {
        text-align: center;
        vertical-align: top;
        white-space: nowrap;
    }



    .user-level-split {
        border-top: 1px solid #808080;
        margin: 10px 0;
    }

    .jqOrgchart .down {
        background-color: #808080;
        margin: 0px auto;
    }

    .jqOrgchart .top {
        border-top: 2px solid #808080;
    }

    .jqOrgchart .left {
        border-left: 2px solid #808080;
    }

    .jqOrgchart .line {
        width: 2px;
        height: 20px;
    }

    .jqOrgchart td {
        text-align: center;
        vertical-align: top;
        white-space: nowrap;
    }

    .ui-state-highlight {
        background-color: #eedc94;
    }
</style>
<div class="fr2 green fs-25 Tbrline">安置网络图</div>
<div class="fr2">
    <div class="user-level">
        <label class="user-level-1">一星会员</label>
        <label class="user-level-2">二星会员</label>
        <label class="user-level-3">三星会员</label>
        <label class="user-level-4">四星会员</label>
        <label class="user-level-5">五星会员</label>
    </div>


    <form class="form-inline" style="margin-bottom: 0;" action="#" novalidate="novalidate">
        <label>
            <label class="ui-page-label">会员编号</label>
            <input class="input-small" id="usercode" name="usercode" type="text" value="">
        </label>
        <label>
            <label class="ui-page-label">期数</label>
            <input class="input-small" id="issue" name="issue" type="text" value="">
        </label>
        <input type="button" class="btn" id="search" value="查询">
    </form>
    <div class="user-level-split"></div>
    <table cellpadding="0" cellspacing="0" class="net-box">
        <tbody>
            <tr>
                <td align="center">
                    <table id="jdNet" cellspacing="0" cellpadding="0" class="jqOrgchart">
                        <tbody>
                            <tr>
                                <td colspan="4">
                                    <table cellpadding="0" cellspacing="0" class="net-node">
                                        <tbody>
                                            <tr>
                                                <td colspan="3" class="user-level-1" style="cursor: pointer;">@Member.Account</td>
                                            </tr>
                                            <tr>
                                                <td colspan="3" class="user-level-1">@Member.Name</td>
                                            </tr>
                                            <tr>
                                                <td colspan="3" class="user-level-1">@Member.Level.GetDisplay()</td>
                                            </tr>
                                            <tr>
                                                <td></td>
                                                <td>左区</td>
                                                <td>右区</td>
                                            </tr>
                                            <tr>
                                                <td>新增</td>
                                                <td>0</td>
                                                <td>0</td>
                                            </tr>
                                            <tr>
                                                <td>合计</td>
                                                <td>0</td>
                                                <td>0</td>
                                            </tr>
                                            <tr>
                                                <td>剩余</td>
                                                <td>0</td>
                                                <td>0</td>
                                            </tr>
                                            <tr class="ui-state-highlight">
                                                <td colspan="3">@Member.CreateTime.ToString("yyyy-MM-dd hh:mm:ss")</td>

                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="4">
                                    <div class="down line"></div>
                                </td>
                            </tr>
                            <tr>
                                <td class="line right"></td>
                                <td class="line left top"></td>
                                <td class="line right top"></td>
                                <td class="line left"></td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <table cellspacing="0" cellpadding="0" border="0">
                                        <tbody>
                                            <tr>
                                                <td><span style="width: 60px; margin: 0 10px;" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" role="button" aria-disabled="false">

                                                    @Html.ActionLink("注册", "PositionRegister", new { position =0 }, new { @class="btn"})
                                                </span>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                                <td colspan="2">
                                    <table cellspacing="0" cellpadding="0" border="0">
                                        <tbody>
                                            <tr>
                                                <td><span style="width: 60px; margin: 0 10px;" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" role="button" aria-disabled="false">
                                                    @Html.ActionLink("注册", "PositionRegister", new { position = 1 }, new { @class="btn"})
                                                </span></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>
</div>

@section Script
{
    <script type="text/javascript">
        function Register(position) {

        }
    </script>
}
